package framework.exception;

/**
 * @author 马洁
 * @date 2020/3/14 - 14:36
 */
public class IsInterfaceOrAbstractException extends RuntimeException {
    public IsInterfaceOrAbstractException() {
        super("接口和抽象类不能被实例化");
    }

    public IsInterfaceOrAbstractException(String message) {
        super(message);
    }

    public IsInterfaceOrAbstractException(String message, Throwable cause) {
        super(message, cause);
    }

    public IsInterfaceOrAbstractException(Throwable cause) {
        super(cause);
    }

    public IsInterfaceOrAbstractException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
